package com.duoqin.payservice.data;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class RechargeHistoryResponse {

    /**
     * code : 0
     * msg : 成功
     * data : [{"realFee":0.01,"payAt":1540264284630,"rechargeBalance":10,"createAt":1540264273233},{"realFee":0.01,"payAt":1540195641167,"rechargeBalance":10,"createAt":1540195572713},{"realFee":0.01,"payAt":1539939898760,"rechargeBalance":10,"createAt":1539939873146}]
     */

    @SerializedName("code")
    private int code;
    @SerializedName("msg")
    private String msg;
    @SerializedName("data")
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * realFee : 0.01
         * payAt : 1540264284630
         * rechargeBalance : 10
         * createAt : 1540264273233
         */

        @SerializedName("realFee")
        private double realFee;
        @SerializedName("payAt")
        private long payAt;
        @SerializedName("rechargeBalance")
        private int rechargeBalance;
        @SerializedName("createAt")
        private long createAt;

        public double getRealFee() {
            return realFee;
        }

        public void setRealFee(double realFee) {
            this.realFee = realFee;
        }

        public long getPayAt() {
            return payAt;
        }

        public void setPayAt(long payAt) {
            this.payAt = payAt;
        }

        public int getRechargeBalance() {
            return rechargeBalance;
        }

        public void setRechargeBalance(int rechargeBalance) {
            this.rechargeBalance = rechargeBalance;
        }

        public long getCreateAt() {
            return createAt;
        }

        public void setCreateAt(long createAt) {
            this.createAt = createAt;
        }
    }
}
